package hello;

import java.io.IOException;
import javax.servlet.http.*;


import data.dataprocess;

@SuppressWarnings("serial")
public class HelloServlet extends HttpServlet {
	public void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws IOException {
		dataprocess dp = dataprocess.getInstance();
				
		String id = req.getParameter("id"); //id
		String val = req.getParameter("val");//
		
		dp.insertData(id, val);
		
//		resp.setContentType("text/plain");
//		resp.getWriter().println(str);

		
	}
}
